package com.itheima.Test001;
//测试类;

public class Demo01 {
    public static void main(String[] args) {
        phone iphone = new phone("iphone","白色",9999.9);
        phone xiaomi = new phone("xiaomi","天空之境",3999.9);
        System.out.println(iphone);
        System.out.println(xiaomi);

    }

    private static void method() {
        phone iphone = new phone("iphone","白色",9999.9);
        phone xiaomi = new phone("小米","天空之境",3999.9);
        System.out.println(iphone);
        System.out.println(xiaomi);
    }
}
